]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
run-js-test: fix
authorDan Winship <danw@gnome.org>
Fri, 2 Sep 2011 16:53:36 +0000 (12:53 -0400)
committerDan Winship <danw@gnome.org>
Mon, 5 Sep 2011 16:23:59 +0000 (12:23 -0400)
Needs to explicitly initialize the ShellGlobal now

https://bugzilla.gnome.org/show_bug.cgi?id=649631

src/run-js-test.c

index c89d26fd5ad9b0eeeda86dc64df2bbe8c9ae6697..04e9d7f22355e6885d4d1adb36ac2f1c4107f90d 100644 (file)
@@ -97,6 +97,7 @@ main(int argc, char **argv)
   setlocale (LC_ALL, "");
   g_type_init ();
 
+  _shell_global_init (NULL);
   global = shell_global_get ();
   js_context = _shell_global_get_gjs_context (global);